package com.oocl.batchdatav2.command.impl;

import com.oocl.batchdatav2.command.BaseReceiver;
import com.oocl.batchdatav2.command.Command;

public class ConcreteCommand implements Command {
	
	private BaseReceiver receiver;
	
	public ConcreteCommand(BaseReceiver receiver) {
		this.receiver = receiver;
	}

	@Override
	public StringBuilder execute() throws Exception {
		return receiver.action();
	}

}
